//
//  Address.m
//  PigMarket
//
//  Created by mac on 2019/4/19.
//  Copyright © 2019 felix.pigmarket.oc. All rights reserved.
//

#import "Address.h"

@implementation Address
- (NSString *)description
{
    return [NSString yy_modelDescription];
}
@end

@implementation AddressList
- (NSString *)description
{
    return [NSString yy_modelDescription];
}

+ (NSDictionary *)modelContainerPropertyGenericClass {
    return @{@"list" : [Address class]};
}

- (NSInteger)index{
    
    if (!_index) {
        _index = 0;
    }
    return _index;
}

- (BOOL)isHaveLocation{
    
    if (!_isHaveLocation) {
        _isHaveLocation = NO;
    }
    return _isHaveLocation;
}

@end
